<!doctype html>
<html lang="en">

  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>Go20210516 今日技术分享 - 慧林淘友之达人助手</title>
    <meta name="HandheldFriendly" content="True">
    <meta name="MobileOptimized" content="320">
    <meta name="referrer" content="no-referrer">
    <meta name="description" content="慧林淘友之达人助手:交流与建议、BUG反馈。">
    <meta property="og:site_name" content="慧林淘友之达人助手" />
    <meta property="og:locale" content="nn_NO" />
    <meta property="og:type" content="article" />
    <meta property="og:url" content="https://www.lyhuilin.com/posts/go20210516/" />
    <meta property="og:title" content="Go20210516 今日技术分享" />
    <meta property="og:image" content="https://www.lyhuilin.com/apple-touch-icon.png" />
    <meta property="og:description" content="慧林淘友之达人助手:交流与建议、BUG反馈。" />

    

    <meta property="twitter:title" content="Go20210516 今日技术分享" />
    <meta property="twitter:image" content="https://www.lyhuilin.com/apple-touch-icon.png" />
    <meta property="twitter:card" content="summary" />
    <meta property="twitter:description" content="慧林淘友之达人助手:交流与建议、BUG反馈。" />

    

    <link rel="canonical" href="https://www.lyhuilin.com/posts/go20210516/">

    <link href="//cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css"
          rel="stylesheet"
          integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x"
          crossorigin="anonymous" />

    <link rel="stylesheet" href="https://www.lyhuilin.com/css/main.css" />

    

    

    <link rel="shortcut icon"
          href="https://www.lyhuilin.com/favicon.ico">

    <link href='' rel="alternate" type="application/rss+xml" title="慧林淘友之达人助手" />
    <link href="//fonts.googleapis.com/css?family=Fira+Code|Merriweather+Sans:400,700|Merriweather:400,700&display=swap"
    rel="stylesheet">

<style>
    :root {
        --font-code: "Fira Code", monospace;
        --font-content: "Merriweather", serif;
        --font-title: "Merriweather Sans", sans-serif;
    }
</style>
<script>
    var _hmt = _hmt || [];
    (function () {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?d4f2e101b391ba33a192c215809ef30f";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
    })();
</script>
  </head>

  <body>
    
  

<div class="my-4 my-md-5 header">
  <div class="container">
    <div class="row">
      <div class="col-auto offset-lg-1 d-none d-md-block">
        
          <a href="https://www.lyhuilin.com/">
            <img class="logo" src="https://www.lyhuilin.com/apple-touch-icon.png" alt="logo">
          </a>
        
      </div>
      <div class="col-auto align-self-center mr-auto">
        <a class="text-decoration-none" href="https://www.lyhuilin.com/">
          <h1 class="font-weight-bold name">
            慧林淘友之达人助手
          </h1>
        </a>

        <ul class="nav nav-primary">
          
            <li class="nav-item">
              <a class="text-uppercase nav-link text-home" href="/">
                
                Home
              </a>
            </li>
          
            <li class="nav-item">
              <a class="text-uppercase nav-link text-blog" href="https://3ae.cn">
                
                Blog
              </a>
            </li>
          
            <li class="nav-item">
              <a class="text-uppercase nav-link text-gitee" href="https://gitee.com/lyhuilin">
                
                Gitee
              </a>
            </li>
          
            <li class="nav-item">
              <a class="text-uppercase nav-link text-donations" href="/donations">
                
                Donations
              </a>
            </li>
          
            <li class="nav-item">
              <a class="text-uppercase nav-link text-Download" href="/download">
                
                Download
              </a>
            </li>
          
            <li class="nav-item">
              <a class="text-uppercase nav-link text-support" href="https://support.qq.com/products/65159">
                
                Support
              </a>
            </li>
          

          
        </ul>

        <ul class="nav nav-secondary">
          
        </ul>
      </div>
    </div>
  </div>
</div>


  <div class="content">
    <div class="container">
      <div class="row justify-content-center">
        <div class="col-md-12 col-lg-10">
          <h1 class="mx-0 mx-md-4">
            Go20210516 今日技术分享
          </h1>
          <div class="markdown">
            
  <p>2021-05-16 今日技术分享</p>
<ol>
<li>
<p>面试官：说说unsafe.Pointer和uintptr的区别和联系
<a href="https://mp.weixin.qq.com/s/l-ZQws4SH4QsvMhmJddiww">https://mp.weixin.qq.com/s/l-ZQws4SH4QsvMhmJddiww</a></p>
</li>
<li>
<p>http.Client的连接行为控制详解
<a href="https://mp.weixin.qq.com/s/2fAj_8vEQYLxddllqjsYFg">https://mp.weixin.qq.com/s/2fAj_8vEQYLxddllqjsYFg</a></p>
</li>
<li>
<p>你不知道的 Go 之 slice
<a href="https://mp.weixin.qq.com/s/-VRyRg9d-65lNTFRPvoCLw">https://mp.weixin.qq.com/s/-VRyRg9d-65lNTFRPvoCLw</a></p>
</li>
<li>
<p>go每日新闻(2021-05-14)——Go语言内存分配
<a href="https://mp.weixin.qq.com/s/wembkRjdv8IErolT4IpnCg">https://mp.weixin.qq.com/s/wembkRjdv8IErolT4IpnCg</a></p>
</li>
<li>
<p>说说常见数据库及中间件的主从设计
<a href="https://mp.weixin.qq.com/s/EXTdTsOcCuWpaNXOATpGFQ">https://mp.weixin.qq.com/s/EXTdTsOcCuWpaNXOATpGFQ</a></p>
</li>
<li>
<p>i/o timeout ， 希望你不要踩到这个net/http包的坑
<a href="https://mp.weixin.qq.com/s/AKhRFKgs-I46Lnqhbk6Iog">https://mp.weixin.qq.com/s/AKhRFKgs-I46Lnqhbk6Iog</a></p>
</li>
<li>
<p>Common anti-patterns in Go
<a href="https://mp.weixin.qq.com/s/k-Use24-UCB3y_hV0tihVg">https://mp.weixin.qq.com/s/k-Use24-UCB3y_hV0tihVg</a></p>
</li>
<li>
<p>服务注册中心和配置中心的选择
<a href="https://mp.weixin.qq.com/s/4gOoYI9GsfauCcDoq_6Wxw">https://mp.weixin.qq.com/s/4gOoYI9GsfauCcDoq_6Wxw</a></p>
</li>
<li>
<p>golang 并发底层实现竟然都是它！！！
<a href="https://mp.weixin.qq.com/s/7BeLEzqmA1IR-rjVig0Qbw">https://mp.weixin.qq.com/s/7BeLEzqmA1IR-rjVig0Qbw</a></p>
</li>
<li>
<p>golang 编写的 GBA 模拟器
<a href="https://github.com/pokemium/magia">https://github.com/pokemium/magia</a></p>
</li>
<li>
<p>漫谈 Go 语言编译器（01）
<a href="https://mp.weixin.qq.com/s/0q0k8gGX56SBKJvfMquQkQ">https://mp.weixin.qq.com/s/0q0k8gGX56SBKJvfMquQkQ</a></p>
</li>
<li>
<p>semaphore 的原理与实现
<a href="https://mp.weixin.qq.com/s/GB649snXQ5rDF2BXO9V55Q">https://mp.weixin.qq.com/s/GB649snXQ5rDF2BXO9V55Q</a></p>
</li>
<li>
<p>pprof++：具有硬件性能监控的 Go 探查器
<a href="https://eng.uber.com/pprof-go-profiler">https://eng.uber.com/pprof-go-profiler</a></p>
</li>
<li>
<p>对cni benchmark中Cilium网络性能的理解
<a href="https://cilium.io/blog/2021/05/11/cni-benchmark">https://cilium.io/blog/2021/05/11/cni-benchmark</a></p>
</li>
<li>
<p>编程与写作 by redis之父
<a href="http://antirez.com/news/135">http://antirez.com/news/135</a></p>
</li>
<li>
<p>fly.io的Prometheus度量采集实践
<a href="https://fly.io/blog/measuring-fly/">https://fly.io/blog/measuring-fly/</a></p>
</li>
<li>
<p>go实现的GBA游戏模拟器
<a href="https://github.com/pokemium/magia">https://github.com/pokemium/magia</a></p>
</li>
<li>
<p>使用go构建rest server：身份验证
<a href="https://eli.thegreenplace.net/2021/rest-servers-in-go-part-6-authentication">https://eli.thegreenplace.net/2021/rest-servers-in-go-part-6-authentication</a></p>
</li>
<li>
<p>使用go和无服务框架构建OKR跟踪工具
<a href="https://arjitjaiswal.medium.com/building-okayar-part-1-how-it-started-back-end-crud-serverless-lambda-api-in-go-3248ae93c97c">https://arjitjaiswal.medium.com/building-okayar-part-1-how-it-started-back-end-crud-serverless-lambda-api-in-go-3248ae93c97c</a></p>
</li>
<li>
<p>了解如何使用Rancher的kim和K3s更快地构建函数
<a href="https://www.openfaas.com/blog/kim/">https://www.openfaas.com/blog/kim/</a></p>
</li>
<li>
<p>减少Kubernetes的AWS账单的8个最佳做法
<a href="https://cast.ai/blog/8-best-practices-to-reduce-your-aws-bill-for-kubernetes">https://cast.ai/blog/8-best-practices-to-reduce-your-aws-bill-for-kubernetes</a></p>
</li>
<li>
<p>Go实现的bloom filter包
<a href="https://github.com/bits-and-blooms/bloom">https://github.com/bits-and-blooms/bloom</a></p>
</li>
<li>
<p>iptables: kubernetes service是如何将流量打到pod中的
<a href="https://dustinspecker.com/posts/iptables-how-kubernetes-services-direct-traffic-to-pods/">https://dustinspecker.com/posts/iptables-how-kubernetes-services-direct-traffic-to-pods/</a></p>
</li>
<li>
<p>经过8年努力，scala 3终于发布了！
<a href="https://scala-lang.org/blog/2021/05/14/scala3-is-here.html">https://scala-lang.org/blog/2021/05/14/scala3-is-here.html</a></p>
</li>
<li>
<p>在大规模数据中心运行BGP协议 by facebook
<a href="https://engineering.fb.com/2021/05/13/data-center-engineering/bgp/">https://engineering.fb.com/2021/05/13/data-center-engineering/bgp/</a></p>
</li>
</ol>



          </div>
        </div>
      </div>
    </div>
  </div>

  <div class="my-4 footer">
  <div class="container">
    <div class="row justify-content-center">
      <div class="col-sm-12 col-md-6 col-lg-5">
        <div class="mx-0 mx-md-4 mb-2 text-center text-md-start">
          
            <div>
              <a class="mx-1 mr-md-2 ml-md-0 " href="https://beian.miit.gov.cn/">
                
                豫ICP备13005404号
              </a>
            </div>
          

          
            
              <a href="https://www.lyhuilin.com">白菜林</a>
            
          
        </div>
      </div>
      <div class="col-sm-12 col-md-6 col-lg-5">
        <div class="mx-0 mx-md-4 text-center text-md-end">
          

          

          
  <a href="https://github.com/clin003"
     target="_blank"
     class="mx-1 ml-md-2 mr-md-0 icon"
     aria-label="GitHub">

    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414">
      <path d="M8 0C3.58 0 0 3.582 0 8c0 3.535 2.292 6.533 5.47 7.59.4.075.547-.172.547-.385 0-.19-.007-.693-.01-1.36-2.226.483-2.695-1.073-2.695-1.073-.364-.924-.89-1.17-.89-1.17-.725-.496.056-.486.056-.486.803.056 1.225.824 1.225.824.714 1.223 1.873.87 2.33.665.072-.517.278-.87.507-1.07-1.777-.2-3.644-.888-3.644-3.953 0-.873.31-1.587.823-2.147-.09-.202-.36-1.015.07-2.117 0 0 .67-.215 2.2.82.64-.178 1.32-.266 2-.27.68.004 1.36.092 2 .27 1.52-1.035 2.19-.82 2.19-.82.43 1.102.16 1.915.08 2.117.51.56.82 1.274.82 2.147 0 3.073-1.87 3.75-3.65 3.947.28.24.54.73.54 1.48 0 1.07-.01 1.93-.01 2.19 0 .21.14.46.55.38C13.71 14.53 16 11.53 16 8c0-4.418-3.582-8-8-8"/>
    </svg>
  </a>


          

          

          

          

          

          
  <a href="mailto:hi@lyhuilin.com"
     class="mx-1 ml-md-2 mr-md-0 icon"
     aria-label="Email">

    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 16">
      <path d="M0 4v8c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1H1c-.55 0-1 .45-1 1zm13 0L7 9 1 4h12zM1 5.5l4 3-4 3v-6zM2 12l3.5-3L7 10.5 8.5 9l3.5 3H2zm11-.5l-4-3 4-3v6z"/>
    </svg>
  </a>


          <a href=''
   class="mx-1 ml-md-2 mr-md-0 icon"
   aria-label="RSS">

  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414">
    <path d="M12.8 16C12.8 8.978 7.022 3.2 0 3.2V0c8.777 0 16 7.223 16 16h-3.2zM2.194 11.61c1.21 0 2.195.985 2.195 2.196 0 1.21-.99 2.194-2.2 2.194C.98 16 0 15.017 0 13.806c0-1.21.983-2.195 2.194-2.195zM10.606 16h-3.11c0-4.113-3.383-7.497-7.496-7.497v-3.11c5.818 0 10.606 4.79 10.606 10.607z"/>
  </svg>
</a>


          
        </div>
      </div>
    </div>
  </div>
</div>



    <script src="//cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.bundle.min.js"
            integrity="sha384-gtEjrD/SeCtmISkJkNUaaKMoLD0//ElJ19smozuHV6z3Iehds+3Ulb9Bn9Plx0x4"
            crossorigin="anonymous"></script>

    

    

    

    
    
  </body>

</html>
